#ifndef __MQTT_PAHO_H_
#define __MQTT_PAHO_H_

#include <mqtt_client.h>

int mqtt_paho_connect(void);
int mqtt_paho_publish(char *topic, unsigned char *msg, int msglen, int qos);
int mqtt_paho_start(struct mqtt_client * opts);

void mqtt_paho_enable(void);
void mqtt_paho_disable(void);

int mqtt_paho_subscribe(char *topic, int subscribe, int qos);

void mqtt_paho_reconnect(void);

#endif //__MQTT_PAHO_H_

